﻿// CMBWnd.cpp: 实现文件
//

#include "pch.h"

#include "CMBWnd.h"

#include "MFCApplication1.h"

// CMBWnd

IMPLEMENT_DYNAMIC(CMBWnd, CWnd)

CMBWnd::CMBWnd()
{
}

CMBWnd::~CMBWnd()
{
}

BOOL CMBWnd::Create(CRect rcLayout, CWnd *pParenWnd)
{
    m_hView = wkeCreateWebWindow(WKE_WINDOW_TYPE_CONTROL, pParenWnd->m_hWnd, rcLayout.left, rcLayout.top,
        rcLayout.right - rcLayout.left, rcLayout.bottom - rcLayout.top);
    wkeShowWindow(m_hView, TRUE);

    return true;
}

BEGIN_MESSAGE_MAP(CMBWnd, CWnd)
END_MESSAGE_MAP()

// CMBWnd 消息处理程序
